/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package entity;

import java.util.Arrays;
import java.util.List;

/**
 *
 * @author radityo
 */
public enum PenggunaType {
    
    
    ADMIN(1,"administrator"),
    USER(2,"user");


    private int level;
    private String nama;

    private PenggunaType(int level, String nama) {
        this.level = level;
        this.nama = nama;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getNama() {
        return nama;
    }

    public void setNama(String nama) {
        this.nama = nama;
    }


  


}
